package com.demo.service;

import com.demo.dto.Result;
import com.demo.dto.UserUpdateDTO;
import com.demo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.vo.UserVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Zeng
 * @since 2022-03-23
 */
public interface UserService extends IService<User> {

    Result<UserVO> put(UserUpdateDTO userUpdateDTO, HttpServletRequest request);

    Result<UserVO> detailData();

    Result<UserVO> uploadAvatar(MultipartFile image);
}
